////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//                                                                                                                            //
//                                                         WNProject                                                          //
//                                                                                                                            //
//            This file is distributed under the BSD 2-Clause open source license. See License.txt for details.               //
//                                                                                                                            //
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#pragma once

#ifndef __WN_NETWORKING_BUFFER_RESOURCE_INL__
#define __WN_NETWORKING_BUFFER_RESOURCE_INL__

#include "WNCore/inc/WNPlatform.h"

namespace WNNetworking {
    #ifdef _WN_WINDOWS
        WN_INLINE const WSABUF* WNBufferResource::GetWriteWinBuf() const {
            return(&mWinBuf);
        }

        WN_INLINE WSABUF* WNBufferResource::GetReadWinBuf() {
            return(&mWinBuf);
        }
    #endif
}

#endif // __WN_NETWORKING_BUFFER_RESOURCE_INL__